﻿using System;
using System.Diagnostics;

namespace VeryGoodSync
{
    internal static class Log
    {
        public static void WriteMessage(string log, Exception ex = null)
        {
            Trace.WriteLine(ex == null ? $"[VGS-I] {log}" : $"[VGS-E] {log} {ex.Message}");
        }
    }
}
